package com.wst.wst_server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * ��֯������
 * </p>
 *
 * @author zyk
 * @since 2023-03-24
 */
@ApiModel(value = "Org对象", description = "��֯������")
public class Org implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("机构id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String orgNo;

    private String orgCode;

    @ApiModelProperty("机构名称")
    private String orgName;

    @ApiModelProperty("行政类别：1：卫生监督机构；2：行政部门；3：协作单位")
    private Integer exeType;

    @ApiModelProperty("邮编")
    private String areaCode;

    @ApiModelProperty("地址")
    private String linkAdd;

    @ApiModelProperty("挂牌日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate listingDate;

    @ApiModelProperty("独立运行日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate standaloneDate;

    @ApiModelProperty("行政区类别:1：省；2：市；3：县级市；4：县；5：区")
    private Integer areaType;

    @ApiModelProperty("编办批文日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate zbbdocDate;

    @ApiModelProperty("机构行政级别:选择内容：1厅局级、2副厅局级、3处级、4副处级、5科级、6副科级、7副科级以下、8未定级。")
    private Integer orgLevel;

    @ApiModelProperty("机构性质：1行政机构、事业单位（2全额拔款事业单位、3差额拔款事业单位、4自收自支事业单位）、5其他、空")
    private Integer orgPro;

    private String zipcode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getOrgNo() {
        return orgNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
    public Integer getExeType() {
        return exeType;
    }

    public void setExeType(Integer exeType) {
        this.exeType = exeType;
    }
    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }
    public String getLinkAdd() {
        return linkAdd;
    }

    public void setLinkAdd(String linkAdd) {
        this.linkAdd = linkAdd;
    }
    public LocalDate getListingDate() {
        return listingDate;
    }

    public void setListingDate(LocalDate listingDate) {
        this.listingDate = listingDate;
    }
    public LocalDate getStandaloneDate() {
        return standaloneDate;
    }

    public void setStandaloneDate(LocalDate standaloneDate) {
        this.standaloneDate = standaloneDate;
    }
    public Integer getAreaType() {
        return areaType;
    }

    public void setAreaType(Integer areaType) {
        this.areaType = areaType;
    }
    public LocalDate getZbbdocDate() {
        return zbbdocDate;
    }

    public void setZbbdocDate(LocalDate zbbdocDate) {
        this.zbbdocDate = zbbdocDate;
    }
    public Integer getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(Integer orgLevel) {
        this.orgLevel = orgLevel;
    }
    public Integer getOrgPro() {
        return orgPro;
    }

    public void setOrgPro(Integer orgPro) {
        this.orgPro = orgPro;
    }
    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    @Override
    public String toString() {
        return "Org{" +
            "id=" + id +
            ", orgNo=" + orgNo +
            ", orgCode=" + orgCode +
            ", orgName=" + orgName +
            ", exeType=" + exeType +
            ", areaCode=" + areaCode +
            ", linkAdd=" + linkAdd +
            ", listingDate=" + listingDate +
            ", standaloneDate=" + standaloneDate +
            ", areaType=" + areaType +
            ", zbbdocDate=" + zbbdocDate +
            ", orgLevel=" + orgLevel +
            ", orgPro=" + orgPro +
            ", zipcode=" + zipcode +
        "}";
    }
}
